package com.yincai.carefreewater.db;

import com.j256.ormlite.field.DatabaseField;

/**
 * Created by admin on 2017/10/23.
 * 本地饮水信息
 */

public class Drink {
    private static final long serialVersionUID = 1L;    // 流水号ID
    @DatabaseField(generatedId = true, columnName = "id")
    private int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @DatabaseField(columnName = "quantity")

    private String quantity;
    @DatabaseField(columnName = "temperature")
    private String temperature;
    @DatabaseField(columnName = "bar_code")
    private String bar_code;
    @DatabaseField(columnName = "cup_num")
    private String cup_num;
    @DatabaseField(columnName = "water_quality")
    private String water_quality;
    @DatabaseField(columnName = "datetime")
    private String datetime;

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public String getTemperature() {
        return temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }

    public String getBar_code() {
        return bar_code;
    }

    public void setBar_code(String bar_code) {
        this.bar_code = bar_code;
    }

    public String getCup_num() {
        return cup_num;
    }

    public void setCup_num(String cup_num) {
        this.cup_num = cup_num;
    }

    public String getWater_quality() {
        return water_quality;
    }

    public void setWater_quality(String water_quality) {
        this.water_quality = water_quality;
    }

    public String getDatetime() {
        return datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }
}
